#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

void my_strcpy(char * str, const char * str1)
{
	int i = 0;
	while (*str++ = *str1++)
	{
		;
	}
}
int main()
{
	char arr[10] = { 0 };
	char arr1[10] = { 'a','b'};
	my_strcpy(arr, arr1);
	printf("%s", arr);
	return 0;
}